/*
* ====================================================================
* Copyright (c) 2013-2014 Neudesic.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that redistributions of source
* retain the above copyright notice, this list of conditions and the
* following disclaimer.
*
* This source file includes software written by Neudesic, LLC (http://www.neudesic.com).
*
* THIS SOFTWARE IS PROVIDED BY Neudesic, LLC ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT, AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  FURTHER, IN NO EVENT SHALL
* Neudesic, LLC (THE AUTHOR) OR ANY CONTRIBUTORS BE LIABLE FOR ANY DAMAGES
* WHATSOEVER THAT ARE RELATED TO THE SOFTWARE [INCLUDING BUT NOT LIMITED TO,
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* SUCH AS LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION, HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)] EVEN IF ADVISED OF THE POSSIBILITY
* OF SUCH DAMAGES.
*
* ====================================================================
*/
#ifndef WINRTCONSOLE_H
#define WINRTCONSOLE_H

#include <windows.h>
#if defined(WINAPI_FAMILY) && (WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP || WINAPI_FAMILY == WINAPI_FAMILY_APP)
#	define UNDER_WINDOWS_RT		1
#	if WINAPI_FAMILY == WINAPI_FAMILY_APP || USE_WINRT_NETWORKING
#		define UNDER_WINDOWS_RT_METRO	1
#	endif
#	if WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP
#		define UNDER_WINDOWS_PHONE		1
#	endif
#endif

//#if !UNDER_WINDOWS_RT

#ifdef __cplusplus
extern "C" {
#endif
//#ifdef _DEBUG
//	int _kbhit(void);
//	char *getenv(const char *varname);
//#define ExitProcess(d) 0
//#else
#define getenv(varname) 0
#define _kbhit() 0
#define ExitProcess(d) 0
//#endif
	//#define GetVersion() 0x80000000
	//#define OpenProcess(a, i, p) 0

#ifdef __cplusplus
}
#endif

//#endif	!UNDER_WINDOWS_RT
#endif